This command will return an integer value of the current desktop height.
Return Integer=DESKTOP HEIGHT()
The desktop height
cls print desktop height() wait key
DISPLAY Commands Menu Index